Reads a module's information returned by the EtherCAT master. |
V |
Enable |
BOOL |
Gets the value of the parameter continuously while enabled. |
V |
Valid |
BOOL |
TRUE if a valid set of outputs is available. |
V |
Error |
BOOL |
Signals that an error has occurred within the function block. |
V |
ProductCode |
UDINT |
Product code of the device. |
V |
RevisionNumber |
UDINT |
Revision number of the device. |
V |
SerialNumber |
UDINT |
Serial number of the device. |
V |
SlaveId |
UINT |
The index of a slave array used for SDO functions. When EtherCAT is started, this index has the same value as the SlaveId, which corresponds to the position of the slave in the network. Please note that after EtherCAT is started in the Operational (Op) state, any addition or removal of slaves from the network will change the position of the slaves in the network (SlaveId). Nevertheless, the index of the slave will remain the same. Newly added devices will be added in the back of the slave array. For all slaves after the change, the index and SlaveId will no longer match. This behavior is only available for physical devices; simulated devices are inapplicable. Please refer to the use cases in EnableHotConnect for more details. |
V |
PhysAddress |
UINT |
Physical address of the device. |
V |
AliasAddress |
UINT |
Alias address of the device. |
V |
State |
EC_State
|
The EtherCAT state of the device. |
V |
CycleTime |
UDINT |
The cycle time for a slave. If the slaves on the KINGSTAR Fieldbus network can't catch up the cycle time of the master, KINGSTAR auto-configuration will slow down their cycle time based on their capabilities. |
V |
InputLength |
UDINT |
Length in bits of the device input buffer. |
V |
OutputLength |
UDINT |
Length in bits of the device output buffer. |